import {
  CHANGE_LOADING,
  CHANGE_COLLAPSE,
  CHANGE_ANTHDATA
} from './mutation-types.js';
export default {
  [CHANGE_LOADING](state, info) {
    state.isLoading = info;
  },
  [CHANGE_COLLAPSE](state, info) {
    state.menuCollapse = info
  },
  [CHANGE_ANTHDATA](state, info) {
    state.userData = info.me
    state.authSysData = info
  }
}